package Forms;

import javax.swing.WindowConstants;
import teComponents.teJButton;
import teComponents.teJLabel;
import teComponents.teJLabelWarning;
import teComponents.teJTextField;
import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class LoginForm extends teComponents.teJFrame {
	private teJLabel lblUser;
	private teJLabel lblPwd;
	private teJTextField txtUser;
	private teJButton btnLogin;
	private teJLabel lblForm;
	private teJLabelWarning lblWarning;
	private teJTextField txtPassword;

	/**
	* Auto-generated main method to display this JFrame
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				LoginForm inst = new LoginForm();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}
	
	public LoginForm() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			this.setTitle("Login");
			{
				lblUser = new teJLabel();
				getContentPane().add(lblUser);
				lblUser.setText("User Name:");
				lblUser.setBounds(49, 73, 75, 14);
			}
			{
				lblPwd = new teJLabel();
				getContentPane().add(lblPwd);
				lblPwd.setText("Password:");
				lblPwd.setBounds(58, 103, 66, 14);
			}
			{
				txtUser = new teJTextField();
				getContentPane().add(txtUser);
				txtUser.setBounds(164, 69, 156, 18);
			}
			{
				txtPassword = new teJTextField();
				getContentPane().add(txtPassword);
				txtPassword.setBounds(164, 99, 156, 18);
			}
			{
				lblWarning = new teJLabelWarning();
				getContentPane().add(lblWarning);
				lblWarning.setBounds(49, 179, 304, 25);
			}
			{
				lblForm = new teJLabel();
				getContentPane().add(lblForm);
				lblForm.setText("Please enter your login information");
				lblForm.setBounds(49, 23, 271, 22);
			}
			{
				btnLogin = new teJButton();
				getContentPane().add(btnLogin);
				btnLogin.setText("Login");
				btnLogin.setBounds(220, 142, 100, 25);
			}
			pack();
			this.setSize(398, 271);
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
	}

}
